package com.assignwork.mapper;

import com.assignwork.dto.ShipForecastSearchDTO;
import com.assignwork.vo.ShipVoyagePageVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.assignwork.entity.VoyageInfo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 航次信息Mapper
 */
public interface VoyageInfoMapper extends BaseMapper<VoyageInfo> {

    /**
     * 船舶航次列表
     * @param dto 搜索参数
     * @param page 分页
     * @return List<ShipVoyagePageVO>
     * @author dujianyu
     * @since 2023/8/15 10:08
     */
    List<ShipVoyagePageVO> selectVoyageList(@Param("dto") ShipForecastSearchDTO dto, IPage page);
}